export default [
  {
    path: '/map',
    component: () =>
      import(/* webpackChunkName: "map" */ `@/page/home.vue`),
    name: 'map',
    iconCls: 'el-icon-data-analysis',
    meta: {
      title: '主頁',
      keepAlive: false
    },
    children: [
      {
        path: 'mapIndex',
        component: () =>
          import(/* webpackChunkName: "map" */ `@/page/map/index.vue`),
        name: 'mapIndex',
        meta: {
          title: '地圖'
        },
      },
    ]
  },
  {
    path: '/realTime',
    component: () =>
      import(/* webpackChunkName: "map" */ `@/page/map/real-time.vue`),
    name: 'realTime',
    iconCls: 'el-icon-data-analysis',
    meta: {
      title: '主頁',
      keepAlive: false
    }
  },
  {
    path: '/oldTime',
    component: () =>
      import(/* webpackChunkName: "map" */ `@/page/map/old-time.vue`),
    name: 'oldTime',
    iconCls: 'el-icon-data-analysis',
    meta: {
      title: '實時地圖',
      keepAlive: false
    }
  },
]
